<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SimplePie Example</title>
</head>

<body>
<?php
	// Single feed
	$feed = new simplepie();
	$feed->set_feed_url('http://simplepie.org/blog/feed/');
	$feed->enable_cache(false);
	$feed->enable_order_by_date(false);
	$feed->init();
?>
<p></p>
<h1>SimplePie Example</h1>
<p>Reading RSS feed from <strong>http://simplepie.org/blog/feed/</strong></p>

<h2><?=$feed->get_title();?></h2>
<?php foreach($feed->get_items() as $item): ?>
<h3><?php echo $item->get_title(); ?></h3>
<?php echo $item->get_content(); ?>
<?php endforeach; ?>

<hr />
<h1>The following is the code...</h1>
<?php highlight_file( Micro::$output ); ?>

<hr /><p>Running Micro v{micro_version}. Rendered in  {execution_time} seconds. Using  {memory_usage} of memory.</p><a href="<?=url::site();?>">home</a>
</body>
</html>